(function(strrule,clazz){
	setCurrentClass(clazz);
	setTimeout(function(){
		
		if(strrule==null||strrule.length<2)return null;
		var str = GetItem("名称",strrule,"规则管理");
		if(str!=null&&str["规则"]!=null)str = str["规则"];
		else return null;
		
		var obj = {};
		obj = getValue(); 
		var e   = eval(
			"(function(obj){"+
				str
				+" return obj;"
			+"});"
		)(obj);
		obj = e;
		//log(e);
		for(o in obj){
			setValue(o,obj[o]);
		}
		//log(obj);
		return e;
	},100);
})